//
// Created by liushuai on 18-10-29.
//

#include "Node.h"
#include <iostream>
using namespace std;
Node::Node(int x,int y) {
    X = x;
    Y = y;
    cout<<"Contruct Node:"<<X<<" : "<<Y<<"\n";
}
Node::~Node() {
    cout<<"Destroy Node!"<<"\n";
}
int Node::getX() {
    return X;
}
void Node::setX(int x) {
    X = x;
}
void Node::setY(int y) {
    Y = y;
}
int Node::getY() {
    return Y;
}